<h2>Orders List</h2>
<table cellpadding="0" cellspacing="0">
    <tr>
        <th><?php echo $paginator->sort('Orders Date','Order.created');?></th>
        <th><?php echo $paginator->sort('Delivered','Order.delivered');?></th>
        <!--<th><?php echo $paginator->sort('Payed','Order.payed');?></th>-->
        <th class="actions">Actions</th>
    </tr>
    <?php foreach ($orders as $row) :?>
        <tr>
            <td><?php echo $row['Order']['created']; ?></td>
            <td><?php echo $row['Order']['delivered']; ?></td>
            <!--<td><?php echo $row['Order']['payed']; ?></td>-->
            <td><?php echo $html->link('view', array('action'=>'view', $row['Order']['id']))?></td>
        </tr>
    <?php endforeach;?>
</table>
<div class="paging">
    <?php echo $paginator->prev('<< Prev',array(),null,array('class'=>'disabled') )?>
    | <?php echo $paginator->numbers() ?>
    <?php echo $paginator->next('Next >>',array(),null,array('class'=>'disabled') )?>
</div>